package com.calvin.study.event;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import com.calvin.study.event.base.BaseEventContent;

public class InventoryEventContent extends BaseEventContent implements Serializable {

	private static final long serialVersionUID = 6500137851117412918L;

	public static final String CF_STATUS_OK = "cf_status_ok";
	public static final String CF_BOILSTATUS_OK = "cf_boilstatus_ok";

	// 达成执行任务的条件
	private static final Set<String> requiredCondition;

	static {
		//初始化达成任务的必要条件
		requiredCondition = new HashSet<>();
		requiredCondition.add(CF_STATUS_OK);
		requiredCondition.add(CF_BOILSTATUS_OK);
	}

	@Override
	public Set<String> getRequiredCondition() {
		return InventoryEventContent.requiredCondition;
	}



}
